/*
 * CollectGoodsContract.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.collect.goods;

import com.yidiandao.business.base.BasePresenter;
import com.yidiandao.business.base.BaseView;
import com.yidiandao.business.data.event.CollectGoodsEvent;
import com.yidiandao.business.interfaces.LoadMoreListener;
import com.yidiandao.business.interfaces.RefreshLayoutStateListener;
import com.yidiandao.business.interfaces.RefreshListener;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;

import java.util.List;

/** 我的 商品收藏 */
public class CollectGoodsContract {

    interface Presenter extends BasePresenter {

        void getCollectionData(boolean isRefresh);

        void collectGoods(CollectGoodsEvent event);
    }

    interface View
            extends BaseView<Presenter>,
            RefreshLayoutStateListener,
            RefreshListener,
            LoadMoreListener {

        void setDisplayListItems(List<DisplayListItem> displayListItems);
    }
}
